package com.yaojianfeng.consultant.controller;import dev.langchain4j.model.openai.OpenAiChatModel;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestController;@RestController@RequestMapping("/openai")public class ChatController {    @Autowired    private OpenAiChatModel openAiChatModel;    @RequestMapping("/chat")    public String chat(String userMsg) {        return openAiChatModel.chat(userMsg);    }}